//
//  YLTestView.m
//  YLBase
//
//  Created by simpletour on 30/09/2017.
//  Copyright © 2017 YL. All rights reserved.
//

#import "YLTestView.h"

@interface YLTestView()

@property (nonatomic, strong) UILabel *lblTitle;
@property (nonatomic, strong) UIView *mainView;
@property (nonatomic, strong) UIView *viewLast;
@property (nonatomic, copy) NSString *title;

@end

@implementation YLTestView

-(void)before {
    NSLog(@"%@ calling... %@", NSStringFromClass(self.class) ,NSStringFromSelector(_cmd));
}

-(void)addSubViews {
    NSLog(@"%@ calling... %@", NSStringFromClass(self.class) ,NSStringFromSelector(_cmd));
    NSLog(@" lblTitle = %@", self.lblTitle);
    NSLog(@" mainView = %@", self.mainView);
    NSLog(@" viewLast = %@", self.viewLast);
    NSLog(@" title = %@", self.title);
}

-(void)layout {
    NSLog(@"%@ calling... %@", NSStringFromClass(self.class) ,NSStringFromSelector(_cmd));
}

-(void)useStyle {
    NSLog(@"%@ calling... %@", NSStringFromClass(self.class) ,NSStringFromSelector(_cmd));
}

-(void)after {
    NSLog(@"%@ calling... %@", NSStringFromClass(self.class) ,NSStringFromSelector(_cmd));
}

-(NSArray<NSString *> *)ignoreViewNames {
    return @[@"_viewLast"];
}

@end
